package com.taa.domain.trade.service.chain.impl;

import com.taa.domain.trade.service.chain.AbstractValidationChain;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @Author: taa
 * @Desc: 默认责任链
 * @Create: 2025-06-01 20:16
 **/
@Slf4j
@Component("default")
public class DefaultValidationChain extends AbstractValidationChain {

    @Override
    public boolean validate(String userName, List<Long> productIdList) {
        log.info("默认责任链校验 userName: {} productId: {}", userName, productIdList);
        return true;
    }
}

